/*
 * SPDX-License-Identifier: GPL-2.0
 *
 * Author: yieux
 * Create: 2023-09-25
 * Description: secDetector hook unit type header
 */
#ifndef SECDETECTOR_HOOK_TYPE_H
#define SECDETECTOR_HOOK_TYPE_H

#include <linux/kprobes.h>

enum HOOK_TYPE {
	KPROBE_HOOK_START,
	KPROBE_VFS_UNLINK = KPROBE_HOOK_START,
	KPROBE_PTRACE_ATTACH,
	KPROBE_DO_PIPE2,
	KPROBE_HOOK_END = KPROBE_DO_PIPE2,

	LSM_HOOK_START,
	LSM_INODE_MKDIR = LSM_HOOK_START,
	LSM_HOOK_END = LSM_INODE_MKDIR,

	TRACEPOINT_HOOK_START,
	TRACEPOINT_HOOK_END = TRACEPOINT_HOOK_START,

	HOOKEND,

	SECDETECTOR_TIMER,
};

#endif
